package com.yc.supermarket.mapper;

import com.yc.supermarket.entity.Sales;
import com.yc.supermarket.entity.Transaction;

import java.util.List;

public interface SalesMapper {

    List<Transaction> findAll();

    List<Sales> finds(Sales sales);

    int add(Sales sales);

    Sales opend(Sales sales);

    List<Transaction> findOne(Transaction transaction);
}
